﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace FinanceAPI.Model
{
    /// <summary>
    /// 凭证日志表
    /// </summary>
    [Serializable]
    [Description("凭证日志表")]
    [Table("Pd_Vourcher_Log")]
    public class PdEntityVourcherLog : AggregateRoot
    {
        /// <summary>
        /// 日志级别   1:正常日志，2：日常日志
        /// </summary>
        public int LogLevel { get; set; }

        /// <summary>
        /// 集团代码
        /// </summary>
        [MaxLength(50)]
        public string GroupCode { get; set; }

        /// <summary>
        /// 余额日志信息
        /// </summary>
        [MaxLength(500)]
        public string BalancesInfo { get; set; }

        /// <summary>
        /// 凭证日志信息
        /// </summary>
        [MaxLength(500)]
        public string VourchersInfo { get; set; } 
    }
}
